package dao;

import beans.Contact;
import beans.Organ;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContactDao {

    List<Contact> selectSelective(@Param(value="selectText")String selectText, @Param(value="inputText")String inputText);

    List<Contact> selectList();

    int deleteByPrimaryKey(Integer contactId);

    int insert(Contact record);

    int insertSelective(Contact record);

    Contact selectByPrimaryKey(Integer contactId);

    int updateByPrimaryKeySelective(Contact record);

    int updateByPrimaryKey(Contact record);

    int count();
}